#pragma once

#include "CoreMinimal.h"
#include "UObject/GCObject.h"


class SDockTab;
class FSpawnTabArgs;
class SWindow;
class SCompoundWidget;
class SVerticalBox;

class FSTTabTestToolkit
	: public TSharedFromThis<FSTTabTestToolkit>
{

private:
	TWeakPtr<SWindow> rootWindow;
	TSharedPtr<SCompoundWidget> BusinessEditor;

	TSharedRef<SDockTab> OnSpawnTab_Viewport(const FSpawnTabArgs& Args);

	TSharedRef<SDockTab> OnSpawnTab_Test(const FSpawnTabArgs& Args);

public:

	TSharedPtr<SVerticalBox> verticalBox;

	void CreateEditorLayout(TWeakPtr<SWindow> window, FVector2D windowSize, FVector2D windowPos);
};